// Anode.c
#include "Anode.h"
void sgnAbrt(int sgn) {
	THROW(AnwExp,PROGRAM_ABORT);
	return ;
}
int main(void) {
	TRY(AnwExp,exp) {
		regsgH(sgnAbrt);
		while(True);
		return 0;
	} CATCH(exp,CONNECT_FAILED) {
		ANODE_LOG("[@Anode-wget logout] Connect failed.%s","\r\n");
	} CATCH(exp,INCORRECT_IP) {
		ANODE_LOG("[@Anode-wget logout] Incorrect IP.%s","\r\n");
	} CATCH(exp,UNSAFE_PORT) {
		ANODE_LOG("[@Anode-wget logout] Unsafe port.%s","\r\n");
	} CATCH(exp,PROGRAM_ABORT) {
		ANODE_LOG("[@Anode-wget logout] Program abort.%s","\r\n");
	} FINALLY() {
		ANODE_LOG("[@Anode logout] Report https://gitee.com/e_fixed/anode/issues. %s","\r\n");
	}
	return 0;
}
